Feature: Creating comments and replies

Scenario: Defining comments
* comments have a unique id
* comments have a text
* comments have a creator id
* comments have a creation date and time
* comments have a list of related comments on their own
* comments can have zero or more references to: talks
* comments can have zero or more references to: tasks

Scenario: Adding a task level comment
Given an existing task
And the user is identified
When adding a comment at the task level
Then the new comment is saved
And the new comment text matches the one entered
And the creator id is the current user id
And the creator date and time is now
And the list of related comments is empty
And is the last in the comments list

Scenario: Adding a reply to a comment
Given an existing task with a comment
And the user is identified
When adding a reply to the comment
Then the reply is saved
And the new comment text matches the one entered
And the creator id is the current user id
And the creator date and time is now
And is the last in the replies list
